import { createRouter,createWebHashHistory} from "vue-router";
const Hngk = ()=> import( '../pages/hngk/Hngk' )
const Sjhj = ()=> import( '../pages/sjhj/Sjhj' )
const Jcyj = ()=> import( '../pages/jcyj/Jcyj' )
const Zhjy = ()=> import( '../pages/zhjy/Zhjy' )
const Aqsc = ()=> import( '../pages/aqsc/Aqsc' )
const Hfcj = ()=> import( '../pages/hfcj/Hfcj' )

// import Hngk from  '../pages/hngk/Hngk'
// import Yfyb from  '../pages/yfyb/Yfyb'
// import Jcyj from  '../pages/jcyj/Jcyj'
// import Zhjy from  '../pages/zhjy/Zhjy'
// import Hfcj from  '../pages/hfcj/Hfcj'

// const routerHistory = createWebHistory()

const routes = [
    {
        path: '/',
        name:'hngk',
        component: Hngk
    },
    {
        path: '/sjhj',
        name:'sjhj',
        component: Sjhj
    },
    {
        path: '/jcyj',
        name:'jcyj',
        component: Jcyj
    },
    {
        path: '/zhjy',
        name:'zhjy',
        component: Zhjy
    },
    {
        path: '/hfcj',
        name:'hfcj',
        component: Hfcj
    }

]
  
export const router = createRouter({
    history: createWebHashHistory(),
    routes: routes
})